import 'package:smart_devices/model/department.dart';
import 'package:smart_devices/model/user.dart';
import 'package:smart_devices/params/device.dart';

class DeviceAddForm {

  /// 设备名称
  String? name;

  /// 设备编号
  String? code;

  /// 设备存放位置
  String? location;

  /// 规格型号
  String? standards;

  /// 设备类型
  DeviceTypeEnum? type;

  /// 设备型号
  String? remark;

  /// 设备状态
  DeviceStatusEnum? status;

  /// 使用人员
  UserModel? user;

  /// 使用部门
  DepartmentModel? department;

  /// 联系方式
  String? mobile;

  /// 启用日期
  String? startDate;

  /// 功率
  String? power;

  /// 采购订单号
  String? oderNo;

  /// 供应商
  String? supplier;

  /// 采购部门
  DepartmentModel? buyDept;

  /// 采购人员
  UserModel? buyUser;

  /// 采购日期
  String? buyDate;

  /// 出厂日期
  String? leaveFactoryDate;

  /// 生产厂商
  String? manufacturer;

  /// 使用寿命
  String? life;

  /// 购买价格
  double? price;
}